#pragma once

#include "Types.h"
//#include "Element.h"
//#include "ConcreteElementLoader.h"
#include "tinyxml.h"
#include <string>

class Light //: public Element
{
public:
	Light(bool _enabled, Coord4 _loc, LightComponents _lightComps) : enabled(_enabled), location(_loc), lightComps(_lightComps) {}
	Light(TiXmlElement *elem);

	virtual ~Light(void) {}

	// Atributes
	bool enabled;
	Coord4 location;
	LightComponents lightComps;

	//void initElement();
	//void displayElement();


	// Handle methods
	static bool handleProperties(TiXmlElement *element, int &enabled);
	static void printComponents(LightComponents lights);
	static void printRGBA(sRgba rgba);
	
	//static ConcreteElementLoader<Light> *loader;
};